Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Latest commit

 

History

History
8 lines (6 loc) · 251 Bytes

2.1.6 - Server->listen.md

File metadata and controls

8 lines (6 loc) · 251 Bytes

Server->listen

监听一个新的Server端口,此方法是 addlistener 的别名。

bool Server->listen(string $host, int $port, int $type);

listen方法在1.7.9以上版本可用